/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Service;

import java.awt.Color;
import java.awt.Point;
import java.util.Date;
import java.util.List;
import javabeans.Event;
import javabeans.EventType;
import javabeans.Member;
import javabeans.Plan;

/**
 *
 * @author liweijiao
 */
public interface PlanService {

    public Plan newPlan(String planname, String desc, String email);

    public Event addEvent(String ename, String etype, String starttime, String endtime, String edescript, double x,double y, String c, Plan plan);

    public Event modifyEvent(int eid, String ename, String etype, String starttime, String endtime, String edescript, double x,double y, String c, Plan plan);

    public boolean deleteEvent(int eventid,int planid);

    public List<Event> getEventList(int planid);

    public boolean deletePlan(int planid);

    public Plan getPlan(int planid);
}
